package cn.interestingshop.entity;

import cn.interestingshop.vo.OrderInfoVo;

import java.util.Date;
import java.util.List;

public class BaseOrder {
    private int id;
    private int userId;
    private String account;
    private String userAddress;
    private Date createTime;
    private float amount;
    private String orderNo;
    //一个订单对应多个订单详情
    public List<OrderInfoVo> orderInfoList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public List<OrderInfoVo> getOrderInfoList() {
        return orderInfoList;
    }

    public void setOrderInfoList(List<OrderInfoVo> orderInfoList) {
        this.orderInfoList = orderInfoList;
    }
}
